home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Eagles Nest BBS 1
/
Eagles_Nest_Mac_Collection_Disc_1.TOAST
/
System & Related
/
UNIXNut#2
/
Shells
/
card_3903.txt
< prev
next >
Wrap
Text File
|
1989-06-08
|
882b
|
30 lines
-- card: 3903 from stack: in
-- bmap block id: 0
-- flags: 0000
-- background id: 14368
-- name: Read-Only Shell Variables
-- part contents for background part 7
----- text -----
Environment Variables
-- part contents for background part 8
----- text -----
The following variables are automatically set by the shell. (Note that the $ is not actually part of the variable name.)
$# number of command line arguments
$? exit value of last executed command
$$ exit process number of current process
$! exit process number of last background command
$1...$9 arguments on command line
$* all arguments on command line ("$1 $2...")
$@ all arguments on command line, individually quoted ("$1" "$2" ...)
-- part contents for background part 9
----- text -----
5 of 43
-- part contents for background part 20
----- text -----
Read-Only Shell Variables